<extend name="Layout:layout_form" />
<block name="body_main">
    <form action="{:AddonU('link_edit_save')}" method="post" class="xsui-form">
        <fieldset>
            <div class="xsui-form-field-vertical">
                <label>链接地址：</label>
                <input type="text" name="url" placeholder="链接地址" size="60" value="{$data.url}" />
            </div>
            <div class="xsui-form-field-vertical">
                <label>打开目标：</label>
                <input type="text" name="target" placeholder="打开目标,如：_blank,_self,_top" size="60" value="{$data.target}" />
            </div>
        </fieldset>
        <button type="submit" class="xsui-hidden">提交</button>
        <input type='hidden' name='category_id' value='{$data.category_id}'/>
        <input type='hidden' name='action' value='{$data.action}'/>
    </form>
</block>